﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;


namespace VelesPresentation
{
    public abstract class Presenter
    {
        public VelesRef .VelesServiceClient client;
        public VelesServiceLibrary.VelesService service;

        public Presenter()
        {
            EndpointAddress endpointAddress = new EndpointAddress("http://localhost:8080/");
            BasicHttpBinding serviceBinding = new BasicHttpBinding();
            serviceBinding.ReceiveTimeout = new TimeSpan(0, 0, 120);
            client = new VelesRef.VelesServiceClient(serviceBinding, endpointAddress);
        }
    }
}
